<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>学生信息修改</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" th:href="@{/static/layuiadmin/layui/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/static/layuiadmin/style/admin.css}" media="all">
    <link rel="stylesheet" th:href="@{/static/layuiadmin/style/template.css}" media="all">
</head>
<body style="background-color: #fff; ">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 5px;">
                    <legend>学生信息修改窗口</legend>
                </fieldset>
                <form class="layui-form layui-form-pane" method="post" id="form">
                    <input type="hidden" name="num" th:value="${student.num}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">学生学号</label>
                        <div class="layui-input-block">
                            <input readonly type="text" name="num" lay-verify="required" autocomplete="off" placeholder="请输入学号" class="layui-input" th:value="${student.num}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">学生姓名</label>
                        <div class="layui-input-block">
                            <input type="text" name="name" lay-verify="required" autocomplete="off" placeholder="请输入姓名" class="layui-input" th:value="${student.name}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">学生性别</label>
                        <div class="layui-input-block">
                            <input type="text" name="sex" lay-verify="required" autocomplete="off" placeholder="请输入性别" class="layui-input" th:value="${student.sex}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">联系方式</label>
                        <div class="layui-input-block">
                            <input type="text" name="phone" lay-verify="required" autocomplete="off" placeholder="请输入联系方式" class="layui-input" th:value="${student.phone}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">学生班级</label>
                        <div class="layui-input-block">
                            <input type="text" name="classes" lay-verify="required" autocomplete="off" placeholder="请输入学生班级" class="layui-input" th:value="${student.classes}">
                        </div>
                    </div>
<!--                    <div class="layui-form-item">-->
<!--                        <label class="layui-form-label">授课老师</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input type="text" name="terName" lay-verify="required" autocomplete="off" placeholder="请输入授课老师" class="layui-input" th:value="${student.terName}">-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-form-item layui-hide" style="padding-left: 235px" >
                        <div class="layui-input-block">
                            <button type="button" id="submit" lay-filter="submit" lay-submit class="layui-btn">提 交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>




<script th:src="@{/static/layuiadmin/layui/layui.js}"></script>
<script>
    layui.config({
        base: '/static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index','form', 'upload','layer','laydate'],function () {
        var $ = layui.$
            ,form = layui.form
            ,upload = layui.upload
            ,layer =  layui.layer
            ,laydate = layui.laydate;

        laydate.render({
            elem: '#deadline'
            ,type: 'datetime'
            ,format: 'yyyy/MM/dd HH:mm'
        });

    });
</script>
</body>
</html>